package com.ccsoft.atools.service;

import com.ccsoft.atools.model.ContactCompany;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContactCompanyService {
    int deleteByPrimaryKey(Integer iid);

    ContactCompany insert(ContactCompany record);

    ContactCompany insertSelective(ContactCompany record);

    ContactCompany selectByPrimaryKey(Integer iid);

    ContactCompany updateByPrimaryKeySelective(ContactCompany record);

    ContactCompany updateByPrimaryKey(ContactCompany record);

    List<ContactCompany> selectAll();

    ContactCompany selectBySid(String sid);

    boolean isExist(String sid);

    List<ContactCompany> selectByType(String typeSid);
}
